"""plotly_django URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/1.11/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  url(r'^$', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  url(r'^$', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.conf.urls import url, include
    2. Add a URL to urlpatterns:  url(r'^blog/', include('blog.urls'))
"""

from django.conf.urls import url
from django.contrib import admin
from plotly_django import views

urlpatterns = [
    url(r'^admin/', admin.site.urls),
    url(r'^charts', views.charts),
    url(r'^index', views.index),
    url(r'^bookings', views.bookings),
    url(r'^calendar', views.calendar),
    url(r'^documentation', views.documentation),
    url(r'^file_managers', views.file_managers),
    url(r'^finances', views.finances),
    url(r'^form_demo', views.form_demo),
    url(r'^form_elements', views.form_elements),
    url(r'^form_validator', views.form_validator),
    url(r'^gallery', views.gallery),
    url(r'^login', views.login),
    url(r'^pages', views.pages),
    url(r'^product_edit', views.product_edit),
    url(r'^tables', views.tables),
    url(r'^ui', views.ui),
    url(r'', views.start), # 除了上面的所有规则之外，所有其他规则都会指向views.start.
]
